package cn.qiao.dubbo;

import com.fasterxml.classmate.GenericType;

import java.util.concurrent.CompletableFuture;


/**
 * dubbo泛化调用的接口 示例
 */
public interface HelloService {

    String sayHello(String name);

    CompletableFuture<String> sayHelloAsync(String name);

    CompletableFuture<Object> sayHelloAsyncComplex(String name);

    CompletableFuture<GenericType<Object>> sayHelloAsyncGenericComplex(String name);
}